home *** CD-ROM | disk | FTP | other *** search
/ CDUTIL 13 / CDUTIL #13 Julio 1995.iso / windows / amipro3 / macros.cmz / FSPELL.SMM < prev    next >
Encoding:
INI File  |  1992-11-18  |  8.5 KB  |  588 lines

  1. [ver]
  2.     4
  3. [sty]
  4.     _default.sty
  5. [files]
  6. [charset]
  7.     82
  8.     ANSI (Windows, IBM CP 1252)
  9. [revisions]
  10.     0
  11. [prn]
  12.     PostScript Printer
  13. [port]
  14.     LPT1:
  15. [lang]
  16.     1
  17. [desc]
  18.     Revisa la ortograf<\m>a de varios documentos a la vez.
  19.     Lotus WPD Marketing
  20.     Intermediate
  21.     FillList, Spelling
  22.     noautorun
  23.     714788394
  24.     46
  25.     676699899
  26.     301
  27.     3
  28.     0
  29.     0
  30.     0
  31.     0
  32.     
  33.     
  34.     
  35.     
  36.     
  37.     
  38.     0
  39. [fopts]
  40.     0
  41.     1
  42.     0
  43.     0
  44. [lnopts]
  45.     2
  46.     Body Text
  47.     1
  48. [docopts]
  49.     5
  50.     2
  51. [GramStyle]
  52.     
  53. [tag]
  54.     Est<\a>ndar
  55.     12
  56.     [fnt]
  57.         Tms Rmn
  58.         240
  59.         0
  60.         49152
  61.     [algn]
  62.         1
  63.         1
  64.         0
  65.         0
  66.         0
  67.     [spc]
  68.         17
  69.         0
  70.         1
  71.         0
  72.         0
  73.         1
  74.         100
  75.     [brk]
  76.         4
  77.     [line]
  78.         8
  79.         0
  80.         1
  81.         0
  82.         1
  83.         1
  84.         1
  85.         10
  86.         10
  87.         1
  88.     [spec]
  89.         0
  90.         0
  91.         
  92.         0
  93.         1
  94.         1
  95.         0
  96.         0
  97.         0
  98.         0
  99.     [nfmt]
  100.         24
  101.         1
  102.         2
  103.         ,
  104.         .
  105.         Pts
  106.     Est<\a>ndar
  107.     0
  108.     0
  109. [l1]
  110.     0
  111. [pg]
  112.     3
  113.     46 0 5 0 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  114.     92 0 13 64 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  115.     106 0 10 1025 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  116. [edoc]
  117. <:#293,9360>Macro by <+!>Charlie Pappas<-!>
  118.  
  119. <:#279,9360>
  120.  
  121. <:#279,9360>function fspell()
  122.  
  123. <:#279,9360>IF IsNewWave()
  124.  
  125. <:#279,9360>    Message("Macro no disponible si se ejecuta en HP NewWave.")
  126.  
  127. <:#279,9360>    Exit Function
  128.  
  129. <:#279,9360>ENDIF
  130.  
  131. <:#279,9360>ignorekeyboard(2)
  132.  
  133. <:#279,9360>for i = 101 to 105
  134.  
  135. <:#279,9360>    filledit(i, 1)
  136.  
  137. <:#279,9360>next
  138.  
  139. <:#279,9360>again:
  140.  
  141. <:#279,9360>filledit(9001, strcat$(GetDocPath$(), "*.sam"))
  142.  
  143. <:#279,9360>box = dialogbox(".", "files")
  144.  
  145. <:#279,9360>if box <<<;> 1
  146.  
  147. <:#279,9360>    return 0
  148.  
  149. <:#279,9360>endif
  150.  
  151. <:#279,9360>if getdialogfield$(8001) = ""
  152.  
  153. <:#279,9360>    message("Seleccione archivos de la lista")
  154.  
  155. <:#279,9360>    goto again
  156.  
  157. <:#279,9360>endif
  158.  
  159. <:#279,9360>cdir = getcurrentdir$()
  160.  
  161. <:#279,9360>dim files(100)
  162.  
  163. <:#279,9360>for i = 1 to 100
  164.  
  165. <:#279,9360>    file = strfield$(getdialogfield$(8001), i, " ")
  166.  
  167. <:#279,9360>    if file = -1
  168.  
  169. <:#279,9360>        break
  170.  
  171. <:#279,9360>    endif
  172.  
  173. <:#279,9360>    files(i) = file
  174.  
  175. <:#279,9360>next
  176.  
  177. <:#279,9360>opts = 0
  178.  
  179. <:#279,9360>if getdialogfield$(101)
  180.  
  181. <:#279,9360>    opts = opts + 1
  182.  
  183. <:#279,9360>endif
  184.  
  185. <:#279,9360>if not getdialogfield$(102)
  186.  
  187. <:#279,9360>    opts = opts + 2
  188.  
  189. <:#279,9360>endif
  190.  
  191. <:#279,9360>if not getdialogfield$(103)
  192.  
  193. <:#279,9360>    opts = opts + 4
  194.  
  195. <:#279,9360>endif
  196.  
  197. <:#279,9360>if not getdialogfield$(104)
  198.  
  199. <:#279,9360>    opts = opts + 8
  200.  
  201. <:#279,9360>endif
  202.  
  203. <:#279,9360>if not getdialogfield$(105)
  204.  
  205. <:#279,9360>    opts = opts + 16
  206.  
  207. <:#279,9360>endif
  208.  
  209. <:#279,9360>if getdialogfield$(106)
  210.  
  211. <:#279,9360>    opts = opts + 64
  212.  
  213. <:#279,9360>endif
  214.  
  215. <:#279,9360> for j = 1 to i - 1
  216.  
  217. <:#279,9360>'singlestep(1)
  218.  
  219. <:#279,9360>    file = files(j)
  220.  
  221. <:#279,9360>    if j = 1
  222.  
  223. <:#279,9360>        opts = 1
  224.  
  225. <:#279,9360>    else
  226.  
  227. <:#279,9360>        opts = 129
  228.  
  229. <:#279,9360>    endif
  230.  
  231. <:#284,9360><:f240,2Times New Roman,255,0,0>    ifopen = 0
  232.  
  233. <:#284,9360><:f240,2Times New Roman,255,0,0>    Count = GetOpenFileCount()
  234.  
  235. <:#284,9360><:f240,2Times New Roman,255,0,0>    IF Count <;> 0
  236.  
  237. <:#284,9360><:f240,2Times New Roman,255,0,0>    DIM Filess(Count)
  238.  
  239. <:#284,9360><:f240,2Times New Roman,255,0,0>    GetOpenFileNames(&Filess)
  240.  
  241. <:#284,9360><:f240,2Times New Roman,255,0,0>    FOR II = 1 to Count
  242.  
  243. <:#284,9360><:f240,2Times New Roman,255,0,0>    f = filess(II)
  244.  
  245. <:#284,9360>    <:f240,2Times New Roman,255,0,0>pathplace = instr(0, f, "\")
  246.  
  247. <:#284,9360><:f240,2Times New Roman,255,0,0>    while pathplace <<<;> 0
  248.  
  249. <:#284,9360><:f240,2Times New Roman,255,0,0>        pathtemp = pathplace + 1
  250.  
  251. <:#284,9360><:f240,2Times New Roman,255,0,0>        pathplace = instr(pathtemp, f,"\")
  252.  
  253. <:s><:#284,9360><:f240,2Times New Roman,255,0,0>    wend    
  254.  
  255. <:#284,9360><:f240,2Times New Roman,255,0,0>    length = len(f)
  256.  
  257. <:#284,9360><:f240,2Times New Roman,255,0,0>    pathplace = right$(f, length  - pathtemp + 1)
  258.  
  259. <:#284,9360><:f240,2Times New Roman,255,0,0>    if  pathplace =  ucase$(file) and ifopen = 0 then
  260.  
  261. <:#284,9360><:f240,2Times New Roman,255,0,0>        ifopen = 1<:f>
  262.  
  263. <:#284,9360><:f240,2Times New Roman,255,0,0>    <:f><:f240,2Times New Roman,255,0,0>endif
  264.  
  265. <:#284,9360><:f240,2Times New Roman,255,0,0>    NEXT    <:f>
  266.  
  267. <:#284,9360>    <:f240,2Times New Roman,255,0,0>endif
  268.  
  269. <:#284,9360><:f240,2Times New Roman,255,0,0>    if ifopen = 0 then
  270.  
  271. <:#279,9360>        FileOpen(strcat$(cdir, file),  1, "")
  272.  
  273. <:#279,9360>        spellcheck(opts)
  274.  
  275. <:#279,9360>        save()
  276.  
  277. <:#279,9360>        fileclose()
  278.  
  279. <:#284,9360>    <:f240,2Times New Roman,255,0,0>else<:f>
  280.  
  281. <:#284,9360>        <:f240,2Times New Roman,255,0,0>selectwindow({file})
  282.  
  283. <:#284,9360><:f240,2Times New Roman,255,0,0>        spellcheck(Opts)
  284.  
  285. <:#284,9360><:f240,2Times New Roman,255,0,0>        save()
  286.  
  287. <:#284,9360><:f240,2Times New Roman,255,0,0>    endif        <:f>
  288.  
  289. <:#279,9360>next
  290.  
  291. <:#279,9360>end function
  292.  
  293. <:#279,9360>
  294.  
  295. <:#279,9360>DIALOG files
  296.  
  297. -2134376448 13 86 28 184 158 "" "" "Ortograf<\m>a de varios archivos"
  298.  
  299. <:#284,9360>FONT 8 "Helv"
  300.  
  301. 6 6 66 8 1000 1342308352 "static" "&Archivos:" 0 
  302.  
  303. <:#279,9360>6 16 66 58 9001 1352728587 "listbox" "" 0 
  304.  
  305. 5 77 173 75 900 1342308359 "button" "&Opciones" 0 
  306.  
  307. 10 89 163 9 101 1342242819 "button" "Principio del documento" 0 
  308.  
  309. 10 99 163 9 102 1342242819 "button" "Incluir otras &unidades de texto" 0 
  310.  
  311. 10 109 163 9 103 1342242819 "button" "Revisar palabras &repetidas" 0 
  312.  
  313. 10 119 163 9 104 1342242819 "button" "Revisar palabras con &n<\z>meros" 0 
  314.  
  315. 10 129 163 9 105 1342242819 "button" "Revisar may<\z>sculas &iniciales" 0 
  316.  
  317. 10 139 163 9 106 1342242819 "button" "Incluir &alternativas del diccionario de usuario" 0 
  318.  
  319. 136 6 40 14 1 1342373889 "button" "Aceptar" 0 
  320.  
  321. 136 22 40 14 2 1342373888 "button" "Cancelar" 0 
  322.  
  323. <:#279,9360>78 26 36 1 8001 1342177280 "static" "" 0 
  324.  
  325. <:#279,9360>78 46 98 8 7999 1342177280 "static" "" 0 
  326.  
  327. <:#279,9360>END DIALOG
  328.  
  329. >
  330.  
  331. [Embedded]
  332. 00005884
  333. >
  334. [macsum] 2
  335. fspell 0 0 16 2
  336. files 1823 0 -1 89
  337. [macse]
  338. 14 fspell
  339. 0 1317
  340. 13
  341. 11 00000104
  342. 0 3 "Macro no disponible si se ejecuta en HP NewWave."
  343. 6 0
  344. 15
  345. 9
  346. 0 32 2
  347. 5 101
  348. 8 1
  349. 5 105
  350. 6 1
  351. 18 2
  352. 12 00000201
  353. 10 00000228
  354. 5 1
  355. 6 1
  356. 3 0
  357. 8 1
  358. 10 00000124
  359. 0 31 "{1}" 1
  360. 10 00000168
  361. 0 268
  362. 13
  363. 0 16 [X] "*.sam"
  364. 13
  365. 0 31 9001 [X]
  366. 0 26 "." "files"
  367. 13
  368. 8 2
  369. 6 2
  370. 5 1
  371. 18 1
  372. 11 00000344
  373. 5 0
  374. 15
  375. 9
  376. 0 27 8001
  377. 13
  378. 7 ""
  379. 18 0
  380. 11 00000436
  381. 0 3 "Seleccione archivos de la lista"
  382. 10 00000228
  383. 0 290
  384. 13
  385. 8 3
  386. 5 100
  387. 21 4 [X]
  388. 5 1
  389. 8 1
  390. 5 100
  391. 6 1
  392. 18 2
  393. 12 00000556
  394. 10 00000672
  395. 5 1
  396. 6 1
  397. 3 0
  398. 8 1
  399. 10 00000479
  400. 0 27 8001
  401. 13
  402. 0 20 [X] "{1}" " "
  403. 13
  404. 8 5
  405. 6 5
  406. 5 -1
  407. 18 0
  408. 11 00000643
  409. 10 00000672
  410. 6 1
  411. 6 5
  412. 23 4
  413. 10 00000523
  414. 5 0
  415. 8 6
  416. 0 27 101
  417. 13
  418. 11 00000729
  419. 6 6
  420. 5 1
  421. 3 0
  422. 8 6
  423. 0 27 102
  424. 13
  425. 1 3
  426. 11 00000781
  427. 6 6
  428. 5 2
  429. 3 0
  430. 8 6
  431. 0 27 103
  432. 13
  433. 1 3
  434. 11 00000833
  435. 6 6
  436. 5 4
  437. 3 0
  438. 8 6
  439. 0 27 104
  440. 13
  441. 1 3
  442. 11 00000885
  443. 6 6
  444. 5 8
  445. 3 0
  446. 8 6
  447. 0 27 105
  448. 13
  449. 1 3
  450. 11 00000938
  451. 6 6
  452. 5 16
  453. 3 0
  454. 8 6
  455. 0 27 106
  456. 13
  457. 11 00000986
  458. 6 6
  459. 5 64
  460. 3 0
  461. 8 6
  462. 5 1
  463. 8 7
  464. 6 1
  465. 5 1
  466. 3 1
  467. 6 7
  468. 18 2
  469. 12 00001081
  470. 10 00001811
  471. 5 1
  472. 6 7
  473. 3 0
  474. 8 7
  475. 10 00000996
  476. 6 7
  477. 22 4
  478. 8 5
  479. 6 7
  480. 5 1
  481. 18 0
  482. 11 00001149
  483. 5 1
  484. 8 6
  485. 10 00001161
  486. 5 129
  487. 8 6
  488. 5 0
  489. 8 8
  490. 0 1050
  491. 13
  492. 8 9
  493. 6 9
  494. 5 0
  495. 18 3
  496. 11 00001646
  497. 6 9
  498. 21 10 [X]
  499. 0 1051 &10
  500. 5 1
  501. 8 11
  502. 6 9
  503. 6 11
  504. 18 2
  505. 12 00001334
  506. 10 00001646
  507. 5 1
  508. 6 11
  509. 3 0
  510. 8 11
  511. 10 00001256
  512. 6 11
  513. 22 10
  514. 8 12
  515. 0 808 0 "{12}" "\"
  516. 13
  517. 8 13
  518. 6 13
  519. 5 0
  520. 18 1
  521. 11 00001483
  522. 6 13
  523. 5 1
  524. 3 0
  525. 8 14
  526. 0 808 "{14}" "{12}" "\"
  527. 13
  528. 8 13
  529. 10 00001383
  530. 0 14 "{12}"
  531. 13
  532. 8 15
  533. 6 15
  534. 6 14
  535. 3 1
  536. 5 1
  537. 3 0
  538. 0 807 "{12}" [X]
  539. 13
  540. 8 13
  541. 6 13
  542. 0 18 "{5}"
  543. 13
  544. 18 0
  545. 6 8
  546. 5 0
  547. 18 0
  548. 1 1
  549. 11 00001633
  550. 5 1
  551. 8 8
  552. 10 00001299
  553. 6 8
  554. 5 0
  555. 18 0
  556. 11 00001761
  557. 0 16 "{3}" "{5}"
  558. 13
  559. 2 102 1 [X] 1 ""
  560. 2 459 1 "{6}"
  561. 2 103 1
  562. 2 147 1
  563. 10 00001798
  564. 0 796 "{5}"
  565. 2 459 1 "{6}"
  566. 2 103 1
  567. 10 00001048
  568. 6 0
  569. 15
  570. 9
  571. DIALOG files
  572. -2134376448 13 86 28 184 158 "" "" "Ortografφa de varios archivos" 
  573. FONT 8 "Helv" 
  574. 6 6 66 8 1000 1342308352 "static" "&Archivos:" 0 
  575. 6 16 66 58 9001 1352728587 "listbox" "" 0 
  576. 5 77 173 75 900 1342308359 "button" "&Opciones" 0 
  577. 10 89 163 9 101 1342242819 "button" "Principio del documento" 0 
  578. 10 99 163 9 102 1342242819 "button" "Incluir otras &unidades de texto" 0 
  579. 10 109 163 9 103 1342242819 "button" "Revisar palabras &repetidas" 0 
  580. 10 119 163 9 104 1342242819 "button" "Revisar palabras con &n·meros" 0 
  581. 10 129 163 9 105 1342242819 "button" "Revisar may·sculas &iniciales" 0 
  582. 10 139 163 9 106 1342242819 "button" "Incluir &alternativas del diccionario de usuario" 0 
  583. 136 6 40 14 1 1342373889 "button" "Aceptar" 0 
  584. 136 22 40 14 2 1342373888 "button" "Cancelar" 0 
  585. 78 26 36 1 8001 1342177280 "static" "" 0 
  586. 78 46 98 8 7999 1342177280 "static" "" 0 
  587. 00005909
  588.